package com.example.service.impl;

import com.example.detail.UserDTO;
import com.example.service.ProService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：songxusheng
 * @date ：Created in 2022/4/8 10:38
 * @description：测试实现
 * @version: $
 */
@Service
public class ProServiceImpl implements ProService {

    @Override
    public List<UserDTO> findAll() {
        List<UserDTO> list=new ArrayList<>();
        list.add(new UserDTO(1,"张三",true));
        list.add(new UserDTO(2,"李四",false));
        list.add(new UserDTO(3,"王五",true));
        return list;
    }
}
